package com.example.jixeishi1.dao;


import com.example.jixeishi1.entity.Product;
import com.example.jixeishi1.entity.Users;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HotaiDao {
    //分页
    public List getuser();
    //用户修改
    public int getyhupdate(Users users);
    //按id查询所有
    public List getyhid(int id);
    //按id查询封号不封号
    public int getyhfh(Users users);

    public List getyhname(String username);
    //用户删除
    public int getyhsc(int id);




    //商品分页
    public List getproduct();

    public int getproductadd(List list);
    //删除
    public int getproductsc(int id);
    //根据商品id查询所有
    public List getspidcx(int id);

    public List getspflcx(String flname);

    public List getspmccx(String name);

    public int getspxiuigai(Product pa);


    public  List getflcx();


    //订单
    public List getddcx();

    public int getddsc(int id);

    public List getddztcx(String zt);




}
